package com.community.common.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 角色菜单表
 * </p>
 *
 * @author superman
 * @since 2020-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_menu_role")
public class MenuRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权限
     */
    private String role;

    /**
     * 权限与父节点
     */
    private String roleParent;

    /**
     * 权限与子节点
     */
    private String roleMenu;


}
